package com.ored.entity;

/**
 * @Description:用户登录信息实体类
 * @Author SGM
 * @Date 2020/3/12 10:27
 * @Version V1.0
 */
public class UserBasic {

    private int userId;
    //登录账户
    private String userAccount;
    //用户昵称
    private String userNickName;
    //用户头像
    private String userImg;
    //登录密码
    private String userpassword;
    //用户创建时间
    private String userCreateTime;
    //用户更新信息时间
    private String userUpdateTime;
    //户可操作状态（0：不允许登录；1:允许登录）
    private int userStatus;

    public UserBasic() {
    }

    public UserBasic(String userAccount, String userNickName, String userImg, String userpassword, String userCreateTime, String userUpdateTime, int userStatus) {
        this.userAccount = userAccount;
        this.userNickName = userNickName;
        this.userImg = userImg;
        this.userpassword = userpassword;
        this.userCreateTime = userCreateTime;
        this.userUpdateTime = userUpdateTime;
        this.userStatus = userStatus;
    }

    @Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", userAccount='" + userAccount + '\'' +
                ", userNickName='" + userNickName + '\'' +
                ", userImg='" + userImg + '\'' +
                ", userpassword='" + userpassword + '\'' +
                ", userCreateTime='" + userCreateTime + '\'' +
                ", userUpdateTime='" + userUpdateTime + '\'' +
                ", userStatus=" + userStatus +
                '}';
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    public String getUserNickName() {
        return userNickName;
    }

    public void setUserNickName(String userNickName) {
        this.userNickName = userNickName;
    }

    public String getUserImg() {
        return userImg;
    }

    public void setUserImg(String userImg) {
        this.userImg = userImg;
    }

    public String getUserpassword() {
        return userpassword;
    }

    public void setUserpassword(String userpassword) {
        this.userpassword = userpassword;
    }

    public String getUserCreateTime() {
        return userCreateTime;
    }

    public void setUserCreateTime(String userCreateTime) {
        this.userCreateTime = userCreateTime;
    }

    public String getUserUpdateTime() {
        return userUpdateTime;
    }

    public void setUserUpdateTime(String userUpdateTime) {
        this.userUpdateTime = userUpdateTime;
    }

    public int getUserStatus() {
        return userStatus;
    }

    public void setUserStatus(int userStatus) {
        this.userStatus = userStatus;
    }
}
